Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize method names for 3DTiles metadata #10473

Merged
merged 3 commits into from
Jun 23, 2022

Conversation

jjhembd
Copy link
Contributor

@jjhembd jjhembd commented Jun 21, 2022

This PR adds .getPropertyIds methods to the classes Cesium3DTileFeature, Cesium3DTilePointFeature, and ModelFeature, for better consistency with other 3DTiles_metadata classes.

The existing .getPropertyNames methods are still present, but deprecated.

Resolves #9914

@cesium-concierge
Copy link

Thanks for the pull request @jjhembd!

  • ✔️ Signed CLA found.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.

@lilleyse lilleyse requested a review from sanjeetsuhag June 21, 2022 21:54
Copy link
Contributor

@sanjeetsuhag sanjeetsuhag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that we're standardizing on property IDs, we should also rename the Specs/Data/Cesium3DTiles/PointCloud/PointCloudWithUnicodePropertyNames to use "IDs" instead of "Names". The specs that use that sample data will also need to be updated.

Otherwise, this is looking great @jjhembd. Just a couple of minor changes needed.

Source/Scene/ModelExperimental/ModelFeature.js Outdated Show resolved Hide resolved
@jjhembd
Copy link
Contributor Author

jjhembd commented Jun 23, 2022

Thanks @sanjeetsuhag! I renamed the sample data files, and updated the specs accordingly. Let me know if you see anything else.

Copy link
Contributor

@sanjeetsuhag sanjeetsuhag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the relevant Sandcastles work as expected and the documentation looks good. Thanks @jjhembd!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Issue/PR closed
Development

Successfully merging this pull request may close these issues.

Resolve inconsistency between getPropertyIds and getPropertyNames
3 participants